package dk.au.cs.bdsi.composition.domain;

import java.util.List;

import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;

import dk.au.cs.bdsi.composition.representations.SecrestURI;

public class Composition {

	/*List<SecrestURI> uris;
	List<State> states;
	State startstate;
	String status;*/
	String behaviour;
	
	
	
	public void start(){
		ScriptEngineManager sem = new ScriptEngineManager();
		ScriptEngine jsEngine = sem.getEngineByName("JavaScript");
		try {
		    jsEngine.eval("print('Hello, world!')");
		  } catch (ScriptException ex) {
		      ex.printStackTrace();
		  }    

		  
	}



	public String getBehaviour() {
		return behaviour;
	}



	public void setBehaviour(String behaviour) {
		this.behaviour = behaviour;
	}
	
}
